﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Autenticacao
{
    public partial class frm_agendad1 : Form
    {
        public Utilizador ut2;
        public Cliente cl2;
        public string dt;
        public string hr;
        public string anie;
        
        public frm_agendad1(Utilizador ut1, Cliente cl1, string dt, string hr, string anie)
        {
            this.ut2 = ut1;
            this.cl2 = cl1;
            this.dt = dt;
            this.hr = hr;
            this.anie = anie;

            InitializeComponent();
        }

        private void cmdagendad1_animal_Click(object sender, EventArgs e)
        {
            anie = "animal";
            frm_agendapa frm1 = new frm_agendapa(ut2, cl2, dt, hr, anie);
            this.Hide();
            frm1.ShowDialog();
        }

        private void cmdagendad1_exp_Click(object sender, EventArgs e)
        {
            anie = "exploracao";
            frmagenda_pe frm3 = new frmagenda_pe(ut2, cl2, dt, hr, anie);
            this.Hide();
            frm3.ShowDialog();
        }
    }
}
